package com.caiyi.financial.nirvana.sms.api;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@Api(description = "接收上行接口")
@RequestMapping("/com/caiyi/financial/nirvana/sms/api/receive")
@FeignClient(name = "sms-frontend")
public interface SmsReceiveMsgApi {


    @ApiOperation("接收上行短信")
    @ApiImplicitParam(name = "body", value = "上行短信参数", dataType = "String", paramType = "form")
    @RequestMapping(value = "/{gatewayId}", method = {RequestMethod.POST, RequestMethod.GET})
     String status(@RequestParam Map<String, String> formData, @PathVariable("gatewayId") Integer gatewayId);
}
